package com.ksd.quartz.task.beans;

import com.ksd.common.config.PlayControlConfig;
import lombok.Data;

@Data
public class GetChannelM3Request {
    private String method;
    private Integer type;
    private String user;
    private String token;
    private ChannelParameters parameters;

    public static GetChannelM3Request getM3RequestInfo(String method) {
        GetChannelM3Request m3Request = new GetChannelM3Request();
        //        savePrfDataRequest.setToken("weiyun");
//        savePrfDataRequest.setUser("weiyun");
        m3Request.setToken(PlayControlConfig.getToken());
        m3Request.setUser(PlayControlConfig.getUser());
        m3Request.setType(1);
        m3Request.setMethod(method);

        return m3Request;
    }
}
